<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/cvicse-cmis.tld" prefix="cmis"%>
<%response.setHeader("Cache-Control", "no-store");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("Expires", 0);
%>
<html:html>
<HEAD>
<%@ page
language="java"
contentType="text/html; charset=GBK"
pageEncoding="GBK"
%>
<META http-equiv="Content-Type" content="text/html; charset=GBK">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<SCRIPT language="JavaScript" src="../../js/public.js"></SCRIPT>
<SCRIPT language="JavaScript" src="../../js/button.js"></SCRIPT>
<SCRIPT language="JavaScript">
<!--
function toEdit(oId){
	with(document.forms[0]){
		id.value=oId;
		operAtt.value="edit";
		submit();
	}
	return true;
}

function toAdd(){
	with(document.forms[0]){
		operAtt.value="add";
		submit();
	}
	return true;
}

function toClear(){
	with(document.forms[0]){
		sName.value="";
		sId.value="";
	}
	return true;
}

function toSave(){
	with(document.forms[0]){

		pages.value="1";
		operAtt.value="select";
		submit();
	}
	return true;
}
//-->
</SCRIPT>
</HEAD>

<BODY>
<html:form action="/system/group/sysGroup">
	<input type="hidden" name='operAtt' value='' />
	<input type="hidden" name="data.groupcode" Id="id" />

	<TABLE class="border">
		<TBODY>
			<TR>
				<TD>
				<P class="sysTitle"><bean:message key="SysGroupManage.select.title" /></P>
				<html:errors /><bean:write name="sysGroupForm" property="message"
					filter="false" />
				<DIV class="tab-pane">
				<DIV class="tab-page">
				<DIV class="tab"><bean:message key="dataTab.select" /></DIV>
				<TABLE border="1" width="100%">
					<TBODY>
						<TR>
							<TH nowrap align="left" width="20%"><bean:message
								key="SysGroupData.id" /></TH>
							<TD><html:text property="conditionData.groupcode" size="20"
								maxlength="8" styleId="sId"></html:text></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="SysGroupData.name" /></TH>
							<TD><html:text property="conditionData.groupname" size="30"
								maxlength="10" styleId="sName"></html:text></TD>
						</TR>
						<TR>
							<TD colspan="2" align="center" nowrap class="Show">&nbsp;</TD>
						</TR>
						<TR>
							<TD colspan="2" align="center" nowrap><html:button
								property="Save" onclick="toSave()" styleClass="button">
								<bean:message key="dataEdit.select" />
							</html:button><html:button styleClass="button" property="Clear"
								onclick="toClear()">
								<bean:message key="dataEdit.resetall" />
							</html:button></TD>
						</TR>
					</TBODY>
				</TABLE>
				</DIV>
				</DIV>
				<BR>
				<bean:write name="sysGroupForm" property="footer" filter="false" />
				<DIV class="tab-pane">
				<DIV class="tab-page">
				<DIV class="tab"><bean:message key="dataTab.list" /></DIV>
				<TABLE border="1" width="100%">
					<TBODY>

						<TR>
							<TD style="padding: 0px"><cmis:BeanTable width="100%" border="1"
								styleClass="hideBorder" onClick="toEdit" multibox="true">
								<cmis:Attribute name="groupcode" key="true">
									<bean:message key="SysGroupData.id" />
								</cmis:Attribute>
								<cmis:Attribute name="groupname">
									<bean:message key="SysGroupData.name" />
								</cmis:Attribute>
							</cmis:BeanTable></TD>
						</TR>
						<TR>
							<TD colspan="5" align="center" nowrap class="Show">&nbsp;</TD>
						</TR>
						<TR>
							<TD colspan="5" align="center" nowrap><html:button property="delete"
					onclick="toDel()" styleClass="button">
					<bean:message key="dataEdit.delSelected" />
				</html:button><html:button property="creat" onclick="toAdd()"
								styleClass="button">
								<bean:message key="dataEdit.insert" />
							</html:button></TD>
						</TR>
					</TBODY>
				</table>
				</DIV>
				</DIV>
				</td>
			</tr>
		</tbody>
	</table>
</html:form>
</BODY>
</html:html>
